package org.manager.generic.pagination;

import java.util.List;
import java.util.ArrayList;;

public class Page<T> {
	private int totalRows; //总行数
    private int limit; //每页显示的行数
    private int start; //当前页号
    
    private List<T> dataList = new ArrayList<T>();

	public int getTotalRows() {
		return totalRows;
	}

	public void setTotalRows(int totalRows) {
		this.totalRows = totalRows;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public List<T> getDataList() {
		return dataList;
	}

	public void setDataList(List<T> dataList) {
		this.dataList = dataList;
	}
    
    
}
